import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import axios from 'axios'

//animate.css
import './assets/css/animate.min.css';
//element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'font-awesome/css/font-awesome.min.css'

//路由
import routes from './router.config.js'


//设置路由和vuex,ElementUI
Vue.use(ElementUI);
Vue.use(VueRouter);


let router=new VueRouter({
  routes,
  //'mode':'history'
})


new Vue({
  el: '#app',
  router,
  render: h => h(App)
});
